package com.example.entity;

public class User{
    private String userName;
    private Integer userAge;
    private Car car;

    public User() {
    }

    public User(String userName, Integer userAge, Car car) {
        this.userName = userName;
        this.userAge = userAge;
        this.car = car;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }
}
